﻿package igz.fleaxy.ui.form.radio
{
	import flash.display.Bitmap;
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	import igz.fleaxy.ui.form.checkbox.CheckBoxUi;
	
	/**
	 * @author Intelygenz | www.intelygenz.com
	 */
	public class RadioButtonUi extends CheckBoxUi {
		
		protected var _RadioGroupUi:RadioGroupUi;
		
		public function RadioButtonUi(p_parent:RadioGroupUi, p_settings:Object = null ) {
			super(p_settings);
			
			_RadioGroupUi = p_parent;
		}
		
		override protected function _IsClicked ( p_event : MouseEvent) : void {
			_RadioGroupUi.$Select( this );
		}
	}

}